import Vue from 'vue';
import App from './App.vue';
import router from './router/index.js';
import store from './store/index.js'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'
import axios from 'axios';

import{$get,$postkv,$postf,$postj} from '@/ajax'

Vue.use(ElementUI);
Vue.use(VueAwesomeSwiper);
// Vue.use(axios);

Vue.config.productionTip = false;

Vue.prototype.$axios = axios;		//使用时this.$axios.请求方式('请求地址')
Vue.prototype.$get = $get
Vue.prototype.$postkv = $postkv
Vue.prototype.$postj = $postj
Vue.prototype.$postf = $postf

new Vue({
	router,
	store,
	render: h => h(App),
}).$mount('#app')